﻿using up6.db.store;
using up6.utils;

namespace up6.store.minio;

public class MinioReader : FileBlockReader
{
    public override async Task<byte[]> readAsync(string fileName, long offset, long size)
    {
        fileName = PathTool.url_decode(fileName);
        return await MinioTool.getObjectAsync(fileName, offset, size);
    }
}
